<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新浪导航栏设计</title>
    <!-- 
        1.上边框3像素 #ff8500，下边框1px #edeef0
        2.高度42px
        3.背景#FCFCFC 文字#4C4C4C 鼠标经过#edeef0
     -->
     <style>
        .nav {
            height: 42px;
            border-top: 3px solid #ff8500;
            border-bottom: 1px solid #edeef0;
            
            background-color: #FCFCFC;
            line-height: 42px;
            
        }
        .nav a {
            display: inline-block;
            color: #4C4C4C;
            font-size: 12px;
            text-decoration: none;
            height: 42px;
            padding: 0 20px;
           
        }
        .nav a:hover {
            background-color: #edeef0;
            color: #ff8500;
        }
     </style>
</head>

<body>
    <div class="nav">
        <a href="#">新浪导航</a>
        <a href="#">手机新浪网</a>
        <a href="#">移动客户端</a>
        <a href="#">微博</a>
        <a href="#">网站导航</a>
    </div>
</body>

</html>